<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    var number = '';
    var cheng = 0;
    for(var i = 1;i <= 9;i++){
        for(var o = 1;o <= i;o++){

            number = number + o + 'X' + i + '=' + i * o + '\t';
        }
        number = number + '\n';
    }
    console.log(number);
</script>
<body>

</body>
</html>